//
//  ViewController.m
//  DNPlayer
//
//  Created by lck on 16/4/11.
//  Copyright © 2016年 Devin.LJ. All rights reserved.
//

#import "ViewController.h"
#import "DNPayerControl.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    //
    //    NSString *url = [[NSBundle mainBundle]  pathForResource:@"Cupid.mp4" ofType:nil];
    //    DNPalyerView *vi  = [DNPalyerView playerTool];
    //    vi.frame = CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.width*(9.0/16.0));
    //     [self.view addSubview:vi];
    //
    //    vi.videoUrlStr = url;
    //
    //    @"http://v.jxvdy.com/sendfile/w5bgP3A8JgiQQo5l0hvoNGE2H16WbN09X-ONHPq3P3C1BISgf7C-qVs6_c8oaw3zKScO78I--b0BGFBRxlpw13sf2e54QA";
    
    DNPayerControl *cntrol = [[DNPayerControl alloc] init];
    cntrol.frame = CGRectMake(0, 0, self.view.bounds.size.width, self.view.bounds.size.width * (9.0/16.0));
    [self.view addSubview:cntrol];
    
    
    
}


- (BOOL)prefersStatusBarHidden {
    
    return YES;
}


@end
